{
  "settings": {
    "hasHeaders": true,
    "constrainDragToContainer": true,
    "reorderEnabled": true,
    "selectionEnabled": false,
    "popoutWholeStack": false,
    "blockedPopoutsThrowError": true,
    "closePopoutsOnUnload": true,
    "showPopoutIcon": false,
    "showMaximiseIcon": false,
    "showCloseIcon": false,
    "responsiveMode": "onload",
    "tabOverlapAllowance": 0,
    "reorderOnTabMenuClick": true,
    "tabControlOffset": 10
  },
  "dimensions": {
    "borderWidth": 5,
    "borderGrabWidth": 15,
    "minItemHeight": 10,
    "minItemWidth": 10,
    "headerHeight": 20,
    "dragProxyWidth": 300,
    "dragProxyHeight": 200
  },
  "labels": {
    "close": "close",
    "maximise": "maximise",
    "minimise": "minimise",
    "popout": "open in new window",
    "popin": "pop in",
    "tabDropdown": "additional tabs"
  },
  "content": [
    {
      "type": "column",
      "isClosable": true,
      "reorderEnabled": true,
      "title": "",
      "width": 100,
      "content": [
        {
          "type": "stack",
          "height": 53.6036036036036,
          "isClosable": true,
          "reorderEnabled": true,
          "title": "",
          "activeItemIndex": 0,
          "content": [
            {
              "type": "component",
              "componentName": "cascadeView",
              "title": "CAD View",
              "componentState": {
                "componentName": "cascadeView",
                "MeshRes": 0.1,
                "MeshResRange": [
                  0.01,
                  2
                ],
                "Cache?": true,
                "Radius": 30,
                "RadiusRange": [
                  20,
                  40
                ]
              },
              "isClosable": false,
              "reorderEnabled": true
            }
          ]
        },
        {
          "type": "stack",
          "header": {},
          "isClosable": true,
          "reorderEnabled": true,
          "title": "",
          "activeItemIndex": 0,
          "height": 23.1981981981982,
          "content": [
            {
              "type": "component",
              "componentName": "codeEditor",
              "title": "uneven_chamfer.json",
              "componentState": {
                "code": [
                  "function UnevenChamferEdges(shape, dist1, dist2, edgeList, face, keepOriginal) { ",
                  "  let curChamfer = CacheOp(arguments, () => {",
                  "    let mkChamfer = new oc.BRepFilletAPI_MakeChamfer(shape);",
                  "    let foundEdges = 0;",
                  "    ForEachEdge(shape, (index, edge) => {",
                  "      if (edgeList.includes(index)) { mkChamfer.Add(dist1, dist2, edge,face); foundEdges++; }",
                  "    });",
                  "    if (foundEdges == 0) {",
                  "      console.error(\"Chamfer Edges Not Found!  Make sure you are looking at the object _before_ the Chamfer is applied!\");",
                  "      return new oc.TopoDS_Solid(shape);",
                  "    }",
                  "    return new oc.TopoDS_Solid(mkChamfer.Shape());",
                  "  });",
                  "  sceneShapes.push(curChamfer);",
                  "  if (!keepOriginal) { sceneShapes = Remove(sceneShapes, shape); }",
                  "  return curChamfer;",
                  "}",
                  "",
                  "",
                  "box1 = Box(20,20,20)",
                  "box2 = UnevenChamferEdges(box1,1,3,[1,9,5,11],5, false)",
                  "",
                  "",
                  "",
                  "",
                  "",
                  "//Intersection([box2,box3])",
                  "",
                  "",
                  "// box2= UnevenChamferEdges(box1,1,3,[10,3,8,7],4, false)"
                ]
              },
              "width": 50,
              "isClosable": false,
              "reorderEnabled": true
            }
          ]
        },
        {
          "type": "stack",
          "height": 23.1981981981982,
          "isClosable": true,
          "reorderEnabled": true,
          "title": "",
          "activeItemIndex": 0,
          "content": [
            {
              "type": "component",
              "componentName": "console",
              "title": "Console",
              "componentState": {},
              "height": 20,
              "isClosable": false,
              "reorderEnabled": true
            }
          ]
        }
      ]
    }
  ],
  "isClosable": true,
  "reorderEnabled": true,
  "title": "",
  "openPopouts": [],
  "maximisedItemId": null
}